const Router = require('@koa/router')
const User = require('../controllers/authController')

const router = new Router({
    prefix: '/auth',
})

router.post('/login', User.login)
router.post('/register', User.register)
// router.post('add', User.createInviteCode)

module.exports = router
